/*
 * Copyright (c) 2007 jNetX.
 * http://www.jnetx.com
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * jNetX. You shall not disclose such Confidential Information and
 * shall use it only in accordance with the terms of the license
 * agreement you entered into with jNetX.
 *
 * $Id$
 */
package com.jnetx.javax.sip;

import java.util.HashSet;
import java.util.Set;

/**
 * @author <a href="mailto:dparhonin@jnetx.ru">Dmitry Parhonin</a>
 * @version $Revision$
 */
public class SipStackConfig {
    private String name;
    private String outboundProxy;
    private String outboundProxyAddress;
    private int outboundProxyPort;
    private String outboundProxyTransport;
    private Set<String> extensionMethods = new HashSet<String>();
    private boolean automaticDialogSupport = true;
    private String ipAddress;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOutboundProxy() {
        return outboundProxy;
    }

    public void setOutboundProxy(String outboundProxy) {
        this.outboundProxy = outboundProxy;
    }

    public String getOutboundProxyAddress() {
        return outboundProxyAddress;
    }

    public void setOutboundProxyAddress(String outboundProxyAddress) {
        this.outboundProxyAddress = outboundProxyAddress;
    }

    public int getOutboundProxyPort() {
        return outboundProxyPort;
    }

    public void setOutboundProxyPort(int outboundProxyPort) {
        this.outboundProxyPort = outboundProxyPort;
    }

    public String getOutboundProxyTransport() {
        return outboundProxyTransport;
    }

    public void setOutboundProxyTransport(String outboundProxyTransport) {
        this.outboundProxyTransport = outboundProxyTransport;
    }

    public Set<String> getExtensionMethods() {
        return extensionMethods;
    }

    public boolean getAutomaticDialogSupport() {
        return automaticDialogSupport;
    }

    public void setAutomaticDialogSupport(boolean automaticDialogSupport) {
        this.automaticDialogSupport = automaticDialogSupport;
    }

    public String getIPAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String toString() {
        return "SipStackConfig{" +
                "name='" + name + '\'' +
                ", outboundProxy='" + outboundProxy + '\'' +
                ", outboundProxyAddress='" + outboundProxyAddress + '\'' +
                ", outboundProxyPort=" + outboundProxyPort +
                ", outboundProxyTransport='" + outboundProxyTransport + '\'' +
                ", extensionMethods=" + extensionMethods +
                ", automaticDialogSupport=" + automaticDialogSupport +
                ", ipAddress=" + ipAddress +
                '}';
    }
}
/*
 * $Log$
 */